/*
package com.tarzan.edu.config;

import com.baomidou.mybatisplus.annotation.DbType;
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

*/
/**
 * @author liujinshan
 * @title: MybatisPlusConfiguration
 * @projectName com.tarzan.common.core.config
 * @description: TODO
 * @date 2021/5/24 15:39
 *//*

@Configuration(proxyBeanMethods = false)
public class MybatisPlusConfiguration {


    */
/**
     * @title mybatisPlusInterceptor
     * @description TODO 分页插件, 对于单一数据库类型来说,都建议配置该值,避免每次分页都去抓取数据库类型
     * @param
     * @return com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor
     * @author liujinshan
     * @data 2021/7/1 15:27
     *//*

    @Bean
    public MybatisPlusInterceptor mybatisPlusInterceptor() {
        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
        interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
        return interceptor;
    }


}
*/
